UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The SSH client must not send environment variables to the server or must only send those pertaining to locale.


Overview

Finding ID Version Rule ID IA Controls Severity
GEN005529-ESXI5-708 GEN005529-ESXI5-708 GEN005529-ESXI5-708_rule Low
Description
Environment variables can be used to change the behavior of remote sessions and should be limited. Locale environment variables specify the language, character set, and other features modifying the operation of software to match the user's preferences.
STIG Date
VMware ESXi v5 Security Technical Implementation Guide 2013-01-15

Details

Check Text ( C-GEN005529-ESXI5-708_chk )
Disable lock down mode.
Enable the ESXi Shell.
= /etc/ssh/ssh_config
= AcceptEnv
= LOCALE
Execute the following command(s):
# grep AcceptEnv /etc/ssh/ssh_config

If "AcceptEnv" is not set to "LOCALE" this is a finding.

Re-enable lock down mode.
Fix Text (F-GEN005529-ESXI5-708_fix)
Disable lock down mode.
Enable the ESXi Shell.
= /etc/ssh/ssh_config
= AcceptEnv
= LOCALE
Execute the following command(s):
# vi

Add/modify the and/or where/as required to "LOCALE".

Re-enable lock down mode.